package com.hsjk.szwj.module.pay.mq.producer;

import com.hsjk.szwj.framework.mq.core.RedisMQTemplate;
import com.hsjk.szwj.module.pay.dal.dataobject.config.PayOrderDivisionMQ;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author chenjiawei
 * @desc 支付订单分账处理逻辑
 * @Date 2023/09/04 11:28
 **/
@Slf4j
@Component
public class PayOrderDivisionProducer {
    @Resource
    private RedisMQTemplate redisMQTemplate;


    public void sendMessage(PayOrderDivisionMQ mchNotifyMQ) {
        redisMQTemplate.send(mchNotifyMQ);
    }
}
